/*
============================================================================
 Name        : JpegCApplication.cpp
 Author      : Jian
 Version     :
 Copyright   : Hesine
 Description : Main application class
============================================================================
*/

// INCLUDE FILES
#include "JpegCDocument.h"
#include "JpegCApplication.h"

// ============================ MEMBER FUNCTIONS ===============================

// UID for the application;
// this should correspond to the uid defined in the mmp file
const TUid KUidJpegCApp = { 0xeda6cd11 };

// -----------------------------------------------------------------------------
// CJpegCApplication::CreateDocumentL()
// Creates CApaDocument object
// -----------------------------------------------------------------------------
//
CApaDocument* CJpegCApplication::CreateDocumentL()
    {
    // Create an JpegC document, and return a pointer to it
    return (static_cast<CApaDocument*>
                    ( CJpegCDocument::NewL( *this ) ) );
    }

// -----------------------------------------------------------------------------
// CJpegCApplication::AppDllUid()
// Returns application UID
// -----------------------------------------------------------------------------
//
TUid CJpegCApplication::AppDllUid() const
    {
    // Return the UID for the JpegC application
    return KUidJpegCApp;
    }

// End of File
